import {request} from '../request.js'

//抛出个人信息接口

export function getmyinfo(){
	return request({
		url:"prod-api/api/common/user/getInfo"
	})
	}
	
	// 修改用户信息
export function postmyinfo(info){
	return request({
		url:"prod-api/api/common/user",
		data:info,
		method:'put'
	})
}
// 修改用户密码
export function postpassword(password){
	return request({
		url:"prod-api/api/common/user/resetPwd",
		method:"put",
		data:password
	})
}
